const mongoose = require("mongoose");

const bookSchema = new mongoose.Schema({
  name: String,
});
// 建立一个模型 books 集合
const bookModel = mongoose.model("book", bookSchema);

module.exports = bookModel;
